$(document).ready(function() {

    $(".area-pull").click(function(){
        $(".area-hidden").slideToggle();
        $(".area-pull").toggleClass("push");
    });

    $(".price-pull").click(function(){
        $(".price-hidden").slideToggle();
        $(".price-pull").toggleClass("push");
    });

    $(".search-condition button").click(function(){
    	$(this).parent().hide();
    });

    $(".building-grid-block").mouseover(function(){
        $(this).removeClass("list-grid-background").addClass("list-grid-background-hover");
    });

    $(".building-grid-block").mouseout(function(){
        $(this).removeClass("list-grid-background-hover").addClass("list-grid-background");
    });

    // 让右边地图的高度和左边列表的高度保持一致
    /*var wrapperHeight = $(".summary").height();
    $(".allmap").css("height", wrapperHeight);
    $(window).resize(function() {
        var wrapperHeight = $(".summary").height();
        $(".allmap").css("height", wrapperHeight);
    });*/
    
    
    var h=$(window).scrollTop();
    	if(h>60){
    		
    	}else{
    		
    	}
    $(window).scroll(function(){
    	var h=$(window).scrollTop();
    	if(h>60){
    		
    	}else{
    		
    	}
    })
    
   
    
});
